FROM 10.6.64.142/hy/shared/jdk:21-alpine3.19

COPY docker-entrypoint.sh /
ADD  ./target/example-web-1.2.0.jar app.jar

RUN chmod 755 -c /docker-entrypoint.sh

ENTRYPOINT [ "/docker-entrypoint.sh" ]
EXPOSE 80